package com.cyc.basic.view;

/**
 * @Description:
 * @version 1.0
 * @author cyc
 * @date 2021/9/30 10:40
 */
public class Test1 {
    public static void main(String[] args) {

        Node[] nodes = new Node[100];

        deleteNullNode(nodes);


    }

    private static void deleteNullNode(Node[] nodes) {
        for (int i = 0; i < nodes.length; i++) {
            if (nodes [i].next == null) {
                for (int j = 0; j < nodes.length; j++) {
                    if (nodes[j].next.index == nodes[j].index) {
                        continue;
                    }
                }
            }
        }
    }


    class Node{
        int index;
        Node next;
    }
}
